package com.ruoyi.framework.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author huacw
 * @date 2019/12/13
 */
@ConfigurationProperties(
        prefix = "shiro-redis.cache-manager"
)
public class CacheManagerProperties {
    private String principalIdFieldName;
    private Integer expire;
    private String keyPrefix;

    public CacheManagerProperties() {
    }

    public String getPrincipalIdFieldName() {
        return this.principalIdFieldName;
    }

    public void setPrincipalIdFieldName(String principalIdFieldName) {
        this.principalIdFieldName = principalIdFieldName;
    }

    public Integer getExpire() {
        return this.expire;
    }

    public void setExpire(Integer expire) {
        this.expire = expire;
    }

    public String getKeyPrefix() {
        return this.keyPrefix;
    }

    public void setKeyPrefix(String keyPrefix) {
        this.keyPrefix = keyPrefix;
    }
}
